package com.cssy.xxkj.logic.dao;

import com.cssy.xxkj.logic.entity.LogicAllocationDO;

public interface LogicAllocationDAO extends LogicBizDAO<LogicAllocationDO> {
	
	/**
     * 插入数据
     * @param logicAllocationDO
     * @return 插入数据的主键
     */
    public String insertLogicAllocationDO(LogicAllocationDO logicAllocationDO);
    
    /**
     * 统计记录数
     * @param logicAllocationDO
     * @return 查出的记录数
     */
    public Integer countLogicAllocationDOByExample(LogicAllocationDO logicAllocationDO);

	
	/**
     * 更新记录
     * @param logicAllocationDO
     * @return 受影响的行数
     */
    public Integer updateLogicAllocationDO(LogicAllocationDO logicAllocationDO);
    
    
    /**
     * 根据主键获取logicAllocationDO
     * @param id
     * @return logicAllocationDO
     */
    public LogicAllocationDO findLogicAllocationDOByPrimaryKey(String id);

	/**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicAllocationDOByPrimaryKey(String id);
}
